package com.ynny.Entity;
import java.util.List;
import com.ynny.Entity.Users;
import lombok.AllArgsConstructor;
import lombok.Data;

    @Data
//生成所有参数的构造方法
    @AllArgsConstructor
    public class UsersDTO {
        private Users users;
        private List<Hobby> hobbies;
        public UsersDTO() {
        }
    }

